package cn.maihe.elg.operation.centers.fuzhou.dto.handler.vo;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 请求总节点，封装投保要素信息。支持循环
 * @Author WJH
 * @Date 2022/03/31
 */
@Data
public class TbPolicyDto {
    /**
     * businessNo	保单流水号(该字段为公共资源中心的订单号，对应保函文件附件xml文件中order_id字段)
     */
    @NotBlank
    private String businessNo;
    @NotNull
    @Valid
    private TbInsuranceSchema tbInsuranceSchema;
    @NotNull
    @Valid
    private TbMainLiab tbMainLiab;
//    @NotNull
//    @Valid
    private List<TbSection> tbSection;
    @NotNull
    @Valid
    private TbProvinceSupply tbProvinceSupply;

}
